package com.ruoyi.develop.goodsInvoiceSelf.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 个人发票信息管理对象 goods_invoice_self
 *
 * @author qh
 * @date 2023-01-12
 */
public class GoodsInvoiceSelf extends BaseEntity {
private static final long serialVersionUID=1L;

    /** $column.columnComment */
    private String id;

    /** 发票所属人 */
    @Excel(name = "发票所属人")
    private String userId;

    /** 发票所属人姓名 */
    @Excel(name = "发票所属人姓名")
    private String userName;

    /** 报销日期 */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    @Excel(name = "报销日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date imburseDate;

    /** 发票号码 */
    @Excel(name = "发票号码")
    private String taxNo;

    /** 发票金额 */
    @Excel(name = "发票金额")
    private BigDecimal taxMoney;

    /** 开票日期 */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    @Excel(name = "开票日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date taxDate;

    /** 发票描述 */
    @Excel(name = "发票描述")
    private String taxInfo;

    /** 附件 */
    @Excel(name = "附件")
    private String file;

    /** 报销状态（0申请中 1已发放） */
    @Excel(name = "报销状态", readConverterExp = "0=申请中,1=已发放")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(String id)
            {
            this.id = id;
            }

    public String getId()
            {
            return id;
            }
    public void setUserId(String userId)
            {
            this.userId = userId;
            }

    public String getUserId()
            {
            return userId;
            }
    public void setUserName(String userName)
            {
            this.userName = userName;
            }

    public String getUserName()
            {
            return userName;
            }
    public void setImburseDate(Date imburseDate)
            {
            this.imburseDate = imburseDate;
            }

    public Date getImburseDate()
            {
            return imburseDate;
            }
    public void setTaxNo(String taxNo)
            {
            this.taxNo = taxNo;
            }

    public String getTaxNo()
            {
            return taxNo;
            }
    public void setTaxMoney(BigDecimal taxMoney)
            {
            this.taxMoney = taxMoney;
            }

    public BigDecimal getTaxMoney()
            {
            return taxMoney;
            }
    public void setTaxDate(Date taxDate)
            {
            this.taxDate = taxDate;
            }

    public Date getTaxDate()
            {
            return taxDate;
            }
    public void setTaxInfo(String taxInfo)
            {
            this.taxInfo = taxInfo;
            }

    public String getTaxInfo()
            {
            return taxInfo;
            }
    public void setFile(String file)
            {
            this.file = file;
            }

    public String getFile()
            {
            return file;
            }
    public void setStatus(String status)
            {
            this.status = status;
            }

    public String getStatus()
            {
            return status;
            }
    public void setDelFlag(String delFlag)
            {
            this.delFlag = delFlag;
            }

    public String getDelFlag()
            {
            return delFlag;
            }

    @Override
    public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id",getId())
            .append("userId",getUserId())
            .append("userName",getUserName())
            .append("imburseDate",getImburseDate())
            .append("taxNo",getTaxNo())
            .append("taxMoney",getTaxMoney())
            .append("taxDate",getTaxDate())
            .append("taxInfo",getTaxInfo())
            .append("file",getFile())
            .append("status",getStatus())
            .append("delFlag",getDelFlag())
            .append("createBy",getCreateBy())
            .append("createTime",getCreateTime())
            .append("updateBy",getUpdateBy())
            .append("updateTime",getUpdateTime())
            .append("remark",getRemark())
        .toString();
    }
}
